package com.shanjupay.common.utilbak.apicommon;


public enum HttpHeadEnum {


    /**
     * http 请求头信息
     */
    HTTP_HEAD_ACCEPT_LANGUAGE("X-Client-Language"),

    HTTP_HEAD_SCHOOL_ID("X-Client-X-School-Id"),

    HTTP_HEAD_CLASS_ID("X-Class-Id"),

    HTTP_HEAD_DEVICE_ID("X-Device-Id"),

    HTTP_HEAD_DEVICE_TOKEN("X-Device-Token"),

    /**
     * 移动终端类型
     */

    HTTP_HEAD_MOBILE_TYPE("X-mobile-Type"),

    /**
     * 客户的版本
     */

    HTTP_HEAD_VERSION("version"),

    /**
     * 客户端mac
     */

    HTTP_HEAD_MAC("mac"),

    /**
     * 客户端显示器分辨率
     */

    HTTP_HEAD_RESOLUTION("resolution"),

    /**
     * 设备品牌
     */
    HTTP_HEAD_DEVICE_BRAND("x-device-brand"),

    /**
     * 设备名称
     */
    HTTP_HEAD_DEVICE_NAME("x-device-name"),

    /**
     * 操作系统版本
     */
    HTTP_HEAD_OS_VERSION("X-os-version"),

    /**
     * 运营商
     */
    HTTP_HEAD_OPERATOR("X-operator"),


    /**
     * 用户id
     */
    HTTP_HEAD_USER_ID("X-User-Id"),

    /**
     * 用户账户id
     */
    HTTP_HEAD_ACCOUNT_ID("X-User-Account-Id"),

    /**
     * 机构
     */
    HTTP_HEAD_ORG_ID("X-Org-Id"),

    /**
     * 用户密码
     */
    HTTP_HEAD_USER_HASH("X-User-Hash"),

    /**
     * 请求uid
     */
    HTTP_HEAD_UID("X-Uid"),

    /**
     * 发送请求的平台
     */
    HTTP_HEAD_REQUEST_PLAT("X-Request-Platform"),

    /**
     * 发送请求的时间
     */
    HTTP_HEAD_REQUEST_TIME("X-Request-Time"),

    /**
     * 响应请求的平台
     */
    HTTP_HEAD_RESPONSE_PLAT("X-Response-Platform"),

    /**
     * 响应请求的时间
     */
    HTTP_HEAD_RESPONSE_TIME("X-Response-Time"),

    /**
     * 响应请求的IP
     */
    HTTP_HEAD_RESPONSE_IP("X-Response-Ip"),

    /**
     * 发送请求序列号
     */
    HTTP_HEAD_NUMBER("X-Number"),

    /**
     * 数据库存时间
     */
    HTTP_HEAD_BUSSINESS_TIME("X-Bussiness-Time"),


    /**
     * 数据的传输格式
     */
    HTTP_HEAD_ENCODING_TYPE("Encoding-Type"),

    HTTP_HEAD_CACHE_CONTROL("Cache-Control"),

    /**
     * http 请求头
     */
    HTTP_HEAD_ACCEPT_ENCODING("accept-encoding"),

    /**
     * 用户类型
     */
    HTTP_HEAD_USER_TYPE("X-User-Type"),

    /**
     * 用户类型
     */
    HTTP_HEAD_STUTENT_ID("X-Student-Id"),

    /**
     * http请求对象
     */
    HTTP_REQUEST_PATH("http-request-path"),

    /**
     * 响应消息中的时间戳字段
     */
    HTTP_HEAD_TIMESTAMP("X-Timestamp"),

    /**
     * ios的设备id 替换以前的设备id (以前的不唯一)
     */
    HTTP_HEAD_X_DEVICE_UUID("x-device-uuid");


    private String head;

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }


    HttpHeadEnum(String head) {
        this.head = head;
    }


    public static void main(String args[]) {

        for (HttpHeadEnum he : HttpHeadEnum.values()) {
            System.out.println(he.getHead());
        }

    }


}
